package com.hightemperator.dao;


import com.hightemperator.po.Commend;
import com.hightemperator.po.CommendExample;
import com.hightemperator.po.CommendList;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CommendMapper {
    int countByExample(CommendExample example);

    int deleteByExample(CommendExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Commend record);

    int insertSelective(Commend record);

    List<Commend> selectByExample(CommendExample example);

    Commend selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Commend record, @Param("example") CommendExample example);

    int updateByExample(@Param("record") Commend record, @Param("example") CommendExample example);

    int updateByPrimaryKeySelective(Commend record);

    int updateByPrimaryKey(Commend record);

    List<CommendList> getCommendList(@Param("circleId") Integer circleId,@Param("uId") Integer uId);

    int getCommendHistory(Map<String,Object> param);

}